package com.entity.view;

import com.entity.FuwaijiaoliuEntity;

import com.baomidou.mybatisplus.annotations.TableName;
import org.apache.commons.beanutils.BeanUtils;
import java.lang.reflect.InvocationTargetException;

import java.io.Serializable;

/**
 * 赴外交流信息
 * 后端返回视图实体辅助类 
 * （通常后端关联的表或者自定义的字段需要返回使用）
 * @author 
 */
public class FuwaijiaoliuView extends FuwaijiaoliuEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	
	public FuwaijiaoliuView() {
		
	}
	
	public FuwaijiaoliuView(FuwaijiaoliuEntity fuwaijiaoliuEntity) {
		try {
			BeanUtils.copyProperties(this, fuwaijiaoliuEntity);
		} catch (IllegalAccessException | InvocationTargetException e) {
			e.printStackTrace();
		}
	}
}